package com.yuan.statemachine.business.order;

/**
 * @author wjwei
 */

public enum OrderStatusEnum {

    /**订单状态*/
    WAIT_PAY(2,"待支付"),
    PAID(3,"已付款"),
    INTERCEPTED(4,"已拦截"),
    INVALID(5,"已作废");

    public int code;
    public String remark;

    OrderStatusEnum(int code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    public int getCode() {
        return code;
    }

    public String getRemark() {
        return remark;
    }
}
